package com.lx.principles.demo3;

/**
 * @ClassName KingstonMemory
 * @Description: 金士顿内存条类
 * @Author: 落雪
 * @CreateDate: 2025/1/12 14:00
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/12 14:00
 * @UpdateRemark:
 * @Version: 1.0
 */
public class KingstonMemory implements Memory{

    private String data;


    @Override
    public void save(String data) {
        System.out.println("金士顿内存条存储数据:"+data);

    }

    @Override
    public String get() {
        return "金士顿内存条读取数据"+data;
    }
}
